
import 'dart:convert';

LevelPercentage levelPercentageFromJson(String str) =>
    LevelPercentage.fromJson(json.decode(str));

String levelPercentageToJson(LevelPercentage data) =>
    json.encode(data.toJson());

class LevelPercentage {
  LevelPercentage({
    this.levelDisplayName,
    this.levelPercentage,
  });

  String? levelDisplayName;
  int? levelPercentage;

  factory LevelPercentage.fromJson(Map<String, dynamic> json) =>
      LevelPercentage(
        levelDisplayName: json["levelDisplayName"],
        levelPercentage: json["levelPercentage"],
      );

  Map<String, dynamic> toJson() => {
        "levelDisplayName": levelDisplayName,
        "levelPercentage": levelPercentage,
      };
}
